package com.ruoyi.coupons.mapper;

import com.ruoyi.coupons.domain.Coupon;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
* @author a'su's
* @description 针对表【coupon(优惠券表)】的数据库操作Mapper
* @createDate 2025-03-18 11:06:04
* @Entity com.ruoyi.coupons.domain.Coupon
*/
public interface CouponMapper extends BaseMapper<Coupon> {

    public Coupon getLimit(int couponId);

    public int decreaseStock(int couponId);

}




